import request from '@/utils/request'

export default {

    //1 生成统计数据
    createStaData(day) {
        return request({
        //   url: '/table/list/'+current+"/"+limit,
        //是  ``     不是''
            url:'/staservice/daily/registerCount/'+day,
             method: 'post'
   
        })
      },
      //2. 获取统计数据
      getDataSta(searchObj){
        return request({
                url:`/staservice/daily/showData/${searchObj.type}/${searchObj.begin}/${searchObj.end}`,
                method:'get'
        })
      }
}